import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routers=[
    {
    path:"/",
    name:'HomeIndex',
    component:()=>import('../views/Home.vue')

}]

const router=new VueRouter({
    mode:'history',
    routes:routers
})

export default router